package com.bjtu.douyin.service;

import com.bjtu.common.pojo.Comment;
import com.bjtu.common.pojo.Page;
import com.bjtu.common.util.Result;

public interface CommentService {

    Page page(Integer page, Integer pageSize, Integer videoId, Integer userId);
    Result<?> addComment(Comment comment);
    Result<?> deleteComment(Integer id);
    Result<?> getCommentById(Integer id, Integer userId);
    Result<?> likeComment(Integer id, Integer userId);
    Result<?> dislikeComment(Integer id, Integer userId);
}
